package com.example.module_marketers.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.example.module_marketers.R
import com.example.module_marketers.entity.BusinessProfileEntityItem

class BusinessProfileAdapter:BaseQuickAdapter<BusinessProfileEntityItem,BaseViewHolder>(R.layout.layout_business_profile_item) {
    override fun convert(holder: BaseViewHolder, item: BusinessProfileEntityItem) {
        holder.setText(R.id.tv_business_profile_name,item.name)
        holder.setText(R.id.tv_business_profile_type,"行业类型:${item.industryType}")
        holder.setText(R.id.tv_business_profile_industryType,"行业覆盖:${item.stockName}")
        holder.setText(R.id.tv_business_profile_location,"企业所属地区:${item.address}")
    }
}